

import 'dart:ui';

class StyleColor {

  /// 黑色
  static const black = Color.fromRGBO(23, 23, 23, 0.8);

  static const textLinkColor = Color(0xff0052d9);

}

class ModelColor {
  final Color darkColor;
  final Color lightColor;
  Brightness model;

  ModelColor({required this.darkColor, required this.lightColor, this.model=Brightness.light});

  Color get color=> model == Brightness.light ? lightColor : darkColor;

  Color get reverse =>  model == Brightness.light ? darkColor : lightColor;
}


